package com.gem.day08.interfaces2;

public abstract class UsbDevice implements IUsbDevice {
	//共性属性
}

class UsbKeyBoard extends UsbDevice implements IGaming {

	@Override
	public void connection() {
		System.out.println("USB键盘连接...");
	}

	@Override
	public void operation() {
		System.out.println("USB键盘操作...");
	}

	@Override
	public void game() {

	}
}

class UsbMouse extends UsbDevice {
	//特有属性
	@Override
	public void connection() {
		System.out.println("USB鼠标连接...");
	}

	@Override
	public void operation() {
		System.out.println("USB鼠标操作...");
	}
}
